package com.aaa.inside.feign;

import com.aaa.entity.system.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "system-service")
public interface SystemFeign {
    @PostMapping("/system/user/selectUserById")
    public User selectUserById(@RequestParam Long id);
}
